/* pages/foodEnergy/foodEnergy.wxss */
.food-energy-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #f5f6fa;
    .food-energy-bgimg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        image{
          width: 100%;
        }
    }
    .food-energy-search {
      position: absolute;
      left: 0;
      top: 108rpx;
      width: 100%;
      padding: 0 40rpx;
      z-index: 11;
      box-sizing: border-box;
      .food-energy-search-content {
        background: #fff;
        height: 72rpx;
        border-radius: 10rpx;
        font-size: 24rpx;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 24rpx;
        box-sizing: border-box;
        .food-energy-search-icon {
            width: 36rpx;
            height: 36rpx;
            margin-right: 20rpx;
            image{
              width: 100%;
              height: 100%;
            }
        }
        .food-energy-search-input {
          flex: 1;
          input {
    
          }
        }
    
        .food-energy-search-del {
          margin-left: 10rpx;
          width: 30rpx;
          height: 30rpx;
          image{
            width: 100%;
            height: 100%;
          }
        }
      }
    }
    .food-energy-contnet-container {
      padding: 0 40rpx;
      position: absolute;
      top: 230rpx;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      .food-energy-contnet {
        height: 840rpx;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4rpx 14rpx #bebdbd;
        border-radius: 16rpx;
        overflow: hidden;
        padding: 0 54rpx;
        box-sizing: border-box;
        .food-energy-item {
          margin-top: 42rpx;
          width: 144rpx;
          float: left;
          margin-right: 64rpx;
          .item-img {
            width: 100%;
            image {
                width: 100%;
                height:115.8rpx;
            }
          }
        
          .item-title {
            margin-top: 6rpx;
            width: 144rpx;
            text-align: center;
            font-size: 20rpx;
            color: #2f3245;
          }
        }
        .food-energy-item:nth-child(3n){
          margin-right: 0;
        }
      }
    }
  }